package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.student.pojos.CompetitionAdvisor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CompetitionAdvisorMapper extends BaseMapper<CompetitionAdvisor> {

    List<String> getAdvisorNameList(@Param("competitionId") Long competitionId, @Param("stuId") String stuId);

    List<Long> getCompetitionIdByAdvisorNames(@Param("stuId") String stuId
            ,@Param("advisorNames") List<String> advisorNames);
}
